package com.frame.work.entity.dto;

import com.frame.work.entity.TemperatureControlLog;
import lombok.Data;

import org.springframework.beans.BeanUtils;

/**
 * @author wjming
 */
@Data
public class TemperatureControlLogRepDTO extends BaseRepDTO {
    /**
     * 网关Mac地址
     */
    private String gatewayMac;

    /**
     * 设备mac地址
     */
    private String deviceMac;

    /**
     * 室内温度
     */
    private String indoorTemperature;

    /**
     * 室内湿度
     */
    private String indoorHumidity;

    /**
     * 空调内容
     */
    private String acContent;

    /**
     * 地暖内容
     */
    private String floorHeatContent;

    /**
     * 新风内容
     */
    private String freshAirContent;


    public TemperatureControlLogRepDTO repDto(TemperatureControlLog temperatureControlLog) {
        BeanUtils.copyProperties(temperatureControlLog, this);
        return this;
    }
}